<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>上海泛软科技有限公司-后台登陆</title>
<meta name="robots" content="nofollow" />
<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>
<link href="/Public/Css/admin-style.css" rel="stylesheet" type="text/css" />
<link href="/Public/Css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="/Public/Css/bootstrap.min.css" rel="stylesheet" type="text/css" />


<script language="javascript" type="text/javascript" src="/Public/Js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/admin-common.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/bootstrap.min.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/bootstrap.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/rock_customer_list.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/demo.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/blob.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/FileSaver.min.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/jquery.base64.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/jquery-1.10.2.min.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/tableExport.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/xlsx.core.min.js"></script>
</head>

<body>



<form name="form1" method="post" action="<?php echo U('editExpertok');?>">

<div class="nav-table">
<span class="on" href="table-one">编辑专家信息  </span>
<span href="table-two">扩展信息</span>
</div>
<div class="nav-bottom"></div>
<div class="input-box">
<ul id="table-one">
  <li>
   <label for="name">专家名字</label>
   <input type="text" name="name" id="name" value="<?php echo ($expert['name']); ?>"/>
   <input type="hidden" name="eid" id="eid" value="<?php echo ($expert['eid']); ?>" />
  </li>
 
  
  <!--   <li>
  <label for="image">选择图片</label>
    <input type="text" name="image" id="image"/> <a href="javascript:void(0)" id="upload1">上传图片</a>
  </li> -->
 <!--    <li>
    <label for="name">现价</label>
    <input type="text" name="price" id="price"  />
   
   </li>
    <li>
    <label for="name">原价</label>
    <input type="text" name="oldprice" id="oldprice"  />

   </li> -->
 
  <li>
   <label for="content">专家介绍</label>
   <textarea type="" name="content" id="content" style="width:800px;height:260px;"><?php echo ($expert['introduction']); ?>
   </textarea>
   

  </li>
    <li>
    <label for="image">专家图片</label>
    <input type="text" name="image" id="expertimage"  /> <a href="javascript:void(0)" id="upload">上传图片</a>
   </li>
     <script language="javascript" type="text/javascript" src="/Public/Plugin/kindeditor/kindeditor.js"></script>
     <script language="javascript" type="text/javascript">
    var editor;
    KindEditor.ready(function(K) {
      editor = K.create('textarea[name="content"]', {
        allowFileManager : true
      });
      
    });
  </script>
  <script>
   KindEditor.ready(function(K) {
     var upload = K.editor({
    allowFileManager : true
   });
     
   K('#upload').click(function() {
      upload.loadPlugin('image', function() {
        upload.plugin.imageDialog({
          imageUrl : K('#logoimage').val(),
          clickFn : function(url, title, width, height, border, align) {
            K('#expertimage').val(url);
            upload.hideDialog();
          }
        });
      });
    });
  })
  </script>
 
</ul>

<ul id="table-two">
  <li>
  <label for="keyword">关键词</label>
  <input type="text" name="keyword" id="keyword" value="<?php echo ($content['keyword']); ?>" />
  </li>
<!--   <li>
  <label for="url">别名</label>
  <input type="text" name="url" id="url" value="<?php echo ($content['url']); ?>" /></span>
  </li>
  <li>
   <label for="ord">展示序号</label>
   <input type="text" name="ord" id="ord" value="<?php echo ($content['ord']); ?>" /> 数字越大排名越靠前</span>
   </li>
  <li>
   <label for="hit">阅读次数</label>
   <input type="text" name="hit" id="hit" value="<?php echo ($content['hit']); ?>" /></span>
  </li>
  <li>
   <label for="time">发布时间</label>
   <input type="text" name="time" id="time" value="<?php echo (date("Y-m-d H:i:s",$content['time'])); ?>" /></span>
  </li>
  <li>
   <label for="keyword">内容摘要</label>
   <textarea name="description" id="description" cols="70" rows="5"><?php echo ($content['description']); ?></textarea>
  </li> -->
</ul>

  <div class="table-but"><input type="submit" name="button" id="button" value="确 认 增 加"></div>
</div>
</form>

</body>
</html>